﻿namespace GN.Data.Entity.Attribute
{
    public class DescriptionAttribute : System.Attribute
    {
        /// <summary>
        /// 字段名称
        /// </summary>
        public string Display { get; set; }

        /// <summary>
        /// 错误提示
        /// </summary>
        public string ErrMsg = string.Empty;

        public DescriptionAttribute()
        {

        }

        public DescriptionAttribute(string display)
        {
            this.Display = display;
        }
    }
}
